package com.indexingsystem.boss.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

public class IdxExportThemeWords implements Serializable {
    /**
     * 主键Id
     */
    private String id;


    /**
     * 主题词表id
     */
    private Integer themeTableId;

    /**
     * 主题词id
     */
    private Integer themeWordsId;

    /**
     * 主题词名称
     */
    private String themeWordsName;

    /**
     * 导出文件存放路径
     */
    private String exportPath;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建日期
     */
    private Date createTime;


    /**
     * 描述
     */
    private String description;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getThemeTableId() {
        return themeTableId;
    }

    public void setThemeTableId(Integer themeTableId) {
        this.themeTableId = themeTableId;
    }

    public Integer getThemeWordsId() {
        return themeWordsId;
    }

    public void setThemeWordsId(Integer themeWordsId) {
        this.themeWordsId = themeWordsId;
    }

    public String getThemeWordsName() {
        return themeWordsName;
    }

    public void setThemeWordsName(String themeWordsName) {
        this.themeWordsName = themeWordsName;
    }

    public String getExportPath() {
        return exportPath;
    }

    public void setExportPath(String exportPath) {
        this.exportPath = exportPath;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        IdxExportThemeWords that = (IdxExportThemeWords) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(themeTableId, that.themeTableId) &&
                Objects.equals(themeWordsId, that.themeWordsId) &&
                Objects.equals(themeWordsName, that.themeWordsName) &&
                Objects.equals(exportPath, that.exportPath) &&
                Objects.equals(createBy, that.createBy) &&
                Objects.equals(createTime, that.createTime) &&
                Objects.equals(description, that.description);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, themeTableId, themeWordsId, themeWordsName, exportPath, createBy, createTime, description);
    }

    @Override
    public String toString() {
        return "IdxExportThemeWords{" +
                "id='" + id + '\'' +
                ", themeTableId=" + themeTableId +
                ", themeWordsId=" + themeWordsId +
                ", themeWordsName='" + themeWordsName + '\'' +
                ", exportPath='" + exportPath + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", description='" + description + '\'' +
                '}';
    }
}
